package org.laowenchao.server;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public final class EMF {

	private static final EntityManagerFactory INSTANCE = Persistence.createEntityManagerFactory("transactions-optional");

	public static EntityManagerFactory get() {
		return INSTANCE;
	}

	private EMF() {}
}
